#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int main()
{
    int n, fac = 1;
    scanf("%d", &n);

    for (int i = 1; i <= n; i++)
        fac = fac * i;
    
    printf("%d!=%d", n, fac);
    return 0;
}